import request from '@/utils/request'
// 查询分页列表方案
export const getApportionapi = params => request.get('/ecm-microservice-biz/ecm/annual/apportion/page', { params })
// 生成报告
export const postgenerateapi = id => request.get(`/ecm-microservice-biz/ecm/annual/apportion/generate?id=${id}`)
// 查看电量分摊表
export const getPowerReportapi = id => request.get(`/ecm-microservice-biz/ecm/annual/apportion/view/power/report?id=${id}`)
// 查看比例分摊表
export const getRatioReportapi=id=>request.get(`/ecm-microservice-biz/ecm/annual/apportion/view/ratio/report?id=${id}`)